package com.ninjascript.tanooki;

import java.util.ArrayList;
import java.util.Map;


public abstract class Marshaller {

	public TanookiTable marshal() throws Exception {
		TanookiTable table = new TanookiTable();
		table.setColNames(parseColNames());
		table.addAll(parseRows(table.getColNames()));
		return table;
	}
	
	protected ArrayList<String> parseColNames() throws Exception {
		return null;
	}
	protected ArrayList<Map<String, Object>> parseRows(ArrayList<String> colNames) throws Exception {
		return null;
	}

}
